import GlobalColor from "./GlobalColor";
import GlobalSize from "./GlobalSize";
import ScreenUtils from "./ScreenUtils";
import {Dimensions, Image} from "react-native";
const {width} = Dimensions.get('window');

module.exports ={
    container: {
        flex: 1,
        backgroundColor:GlobalColor.ffffff
    },
    containerf0f0f0: {
        flex: 1,
        backgroundColor:GlobalColor.f0f0f0
    },
    alignItemsCenter:{
        alignItems:'center'
    },
    alignItemsFlexEnd: {
        alignItems:'flex-end'
    },
    flexDirectionRow:{
        flexDirection:'row'
    },
    flexDirectionColumn:{
        flexDirection:'column'
    },
    justifyContentCenter:{
        justifyContent:'center'
    },
    justifyContentSpaceBetween:{
        justifyContent:'space-between'
    },
    justifyContentFlexEnd:{
        justifyContent:'flex-end'
    },
    positionAbsolute:{
        position:'absolute'
    },
    textAlignCenter:{
        textAlign:'center'
    },

    color_ffffff_bottom_10_ViewStyle:{
        backgroundColor:GlobalColor.ffffff,
        marginBottom:GlobalSize.ScaleSize10
    },

    // 登录 view
    btnViewStyle:{
        width:GlobalSize.ScaleSize148,
        height:GlobalSize.ScaleSize48,
        alignItems:'center',
        justifyContent:'center',
        borderColor:'transparent',
        borderRadius:GlobalSize.ScaleSize20,
    },
    btnTextStyle:{
        fontSize:GlobalSize.SetSpText26,
        fontFamily:GlobalSize.FontFamilyRegular,
        color:GlobalColor.ffffff
    },
    titleStyle:{
        fontSize:GlobalSize.SetSpText36,
        color:GlobalColor["333333"],
        fontFamily:GlobalSize.FontFamilySemibold
    },
    detailTitleStyle:{
        fontSize:GlobalSize.SetSpText30,
        color:GlobalColor["909090"],
        fontFamily:GlobalSize.FontFamilyRegular
    },
    headTitleStyle:{
        fontSize:GlobalSize.SetSpText36,
        color:GlobalColor["333333"],
        fontFamily:GlobalSize.FontFamilySemibold
    },
    headDetailTitleStyle:{
        fontSize:GlobalSize.SetSpText30,
        color:GlobalColor["909090"],
        fontFamily:GlobalSize.FontFamilyRegular
    },

    arrowStyle: {
        height:GlobalSize.ScaleSize20,
        width:GlobalSize.ScaleSize19,
        marginLeft:GlobalSize.ScaleSize10
    },
    bottomViewStyle:{
        height:ScreenUtils.scaleSize(120),
        alignItems:'center',
        justifyContent:'center',
        width:width,
        marginBottom:0
    },
    bottomTitleStyle:{
        fontSize:GlobalSize.SetSpText36,
        color:GlobalColor.ffffff,
        fontFamily:GlobalSize.FontFamilyRegular
    },


    // 游戏列表
    game_bgViewStyle:{
        backgroundColor:GlobalColor.ffffff,
    },
    game_titleStyle:{
        fontSize:GlobalSize.SetSpText24,
        color:GlobalColor["505050"],
        marginTop:GlobalSize.ScaleSize30,
        fontFamily:GlobalSize.FontFamilyRegular,
        width:ScreenUtils.scaleSize(380)
    },
    game_detailTitleStyle:{
        fontSize:GlobalSize.SetSpText22,
        color:GlobalColor["909090"],
        marginTop:GlobalSize.ScaleSize10,
        fontFamily:GlobalSize.FontFamilyRegular,
        width:ScreenUtils.scaleSize(460)
    },
    game_bannerImage: {
        marginTop:GlobalSize.ScaleSize24,
        marginBottom:GlobalSize.ScaleSize20,
        height:ScreenUtils.scaleSize(176),
        width:ScreenUtils.scaleSize(176),
        marginLeft:GlobalSize.ScaleSize40,
        borderRadius: ScreenUtils.scaleSize(10),
        // resizeMode:Image.resizeMode.contain
    },
    game_btnViewStyle:{
        marginTop:GlobalSize.ScaleSize43,
    },
    game_lineViewStyle:{
        width:ScreenUtils.scaleSize(466),
        height:GlobalSize.ScaleSize1,
        backgroundColor:GlobalColor.d8d8d8,
        marginLeft:ScreenUtils.scaleSize(236),
        marginRight:GlobalSize.ScaleSize40
    },

    // 消息列表
    message_cellViewStyle:{
        backgroundColor:GlobalColor.ffffff,
        marginBottom:GlobalSize.ScaleSize1
    },
    message_cellBgViewStyle:{
        justifyContent:'space-between',
        flexDirection:'row',
        width:width
    },
    message_cellTitleStyle:{
        fontSize:GlobalSize.SetSpText30,
        marginLeft:GlobalSize.ScaleSize32,
        marginTop:GlobalSize.ScaleSize30,
        color:GlobalColor["353535"],
        fontFamily:GlobalSize.FontFamilyRegular,
        marginRight:GlobalSize.ScaleSize32,
        width:ScreenUtils.scaleSize(545)
    },
    message_cellDetailTitleStyle:{
        fontSize:GlobalSize.SetSpText24,
        marginLeft:GlobalSize.ScaleSize32,
        marginTop:GlobalSize.ScaleSize20,
        fontFamily:GlobalSize.FontFamilyRegular,
        marginBottom:GlobalSize.ScaleSize20,
        color:GlobalColor["909090"],
        width:ScreenUtils.scaleSize(545)
    },
    message_cellArrowStyle:{
        width:GlobalSize.ScaleSize36,
        height:GlobalSize.ScaleSize32,
        marginTop:GlobalSize.ScaleSize16,
        marginRight:GlobalSize.ScaleSize30,
        resizeMode:Image.resizeMode.contain
    },


    //  消息详情
    message_bgViewStyle:{
        marginLeft:ScreenUtils.scaleSize(46),
        marginRight:ScreenUtils.scaleSize(46)
    },
    message_titleStyle:{
        marginTop:ScreenUtils.scaleSize(70),
        fontSize:ScreenUtils.setSpText(30),
        color:GlobalColor["333333"],
        fontFamily:GlobalSize.FontFamilyRegular
    },
    message_timeStyle:{
        marginTop:ScreenUtils.scaleSize(20),
        fontSize:ScreenUtils.setSpText(24),
        color:GlobalColor.b4b4b4
    },
    message_detailStyle:{
        marginTop:ScreenUtils.scaleSize(40),
        fontSize:ScreenUtils.setSpText(24),
        color:GlobalColor["909090"]
    },

    // 列表item  比如我的里面的
    listCellViewStyle: {
        flexDirection:'column',
        backgroundColor:'white',
        height:GlobalSize.ScaleSize92,
    },
    listItemViewStyle:{
        alignItems:'center',
        flexDirection:'row',
        height:ScreenUtils.scaleSize(91),
        marginLeft:GlobalSize.ScaleSize34,
        marginRight:GlobalSize.ScaleSize34,
    },
    listItemImageStyle:{
        marginRight:GlobalSize.ScaleSize20,
        width:ScreenUtils.scaleSize(43),
        height:ScreenUtils.scaleSize(45),
        resizeMode:Image.resizeMode.contain
    },
    listItemArrowStyle:{
        width:ScreenUtils.scaleSize(19),
        height:ScreenUtils.scaleSize(32),
        position:"absolute",
        right:GlobalSize.ScaleSize10
    },
    listItemTextStyle: {
        color:GlobalColor["333333"],
        fontSize:GlobalSize.ScaleSize30,
        fontFamily:GlobalSize.FontFamilyRegular
    },
    listItemDetailTextStyle: {
        color:GlobalColor.fe7133,
        fontSize:GlobalSize.SetSpText22,
        fontFamily:GlobalSize.FontFamilyRegular,
        marginLeft:GlobalSize.ScaleSize10
    },






    // 快速菜单入口
    menuItemViewStyle: {
        justifyContent:'center',
        alignItems:'center',
        width:width/4,
        height:ScreenUtils.scaleSize(206),
    },
    menuTitleStyle: {
        fontSize:ScreenUtils.setSpText(24),
        color:GlobalColor["7f7f7f"],
        fontFamily:GlobalSize.FontFamilyRegular
    },
    menuIconStyle: {
        width:ScreenUtils.scaleSize(102),
        height:ScreenUtils.scaleSize(102),
        marginBottom:ScreenUtils.scaleSize(20)
    },


    // 弹框提示
    alertTitleStyle: {
        marginTop: GlobalSize.ScaleSize30,
        color: GlobalColor["333333"],
        fontSize: GlobalSize.SetSpText32,
        fontFamily: GlobalSize.FontFamilyMedium
    },
    alertDetailTitle: {
        marginTop: GlobalSize.ScaleSize20,
        color: GlobalColor["909090"],
        fontSize: GlobalSize.SetSpText24,
        fontFamily: GlobalSize.FontFamilyRegular
    },
    alert_btnBgViewStyle: {
        width: ScreenUtils.scaleSize(550),
        height: ScreenUtils.scaleSize(72),
        flexDirection: "row",
        alignItems: 'center',
        marginTop: GlobalSize.ScaleSize40,
        justifyContent: "center"
    },
    alert_btnTextStyle:{
        color: GlobalColor.ffffff,
        fontSize: GlobalSize.SetSpText24,
        fontFamily: GlobalSize.FontFamilyRegular
    },
    alert_btnViewStyle:{
        width: ScreenUtils.scaleSize(200),
        height: ScreenUtils.scaleSize(72),
        alignItems: 'center',
        justifyContent: 'center',
        backgroundColor: GlobalColor.ff4114,
        borderRadius: GlobalSize.ScaleSize10,
        marginLeft: GlobalSize.ScaleSize30,
        marginRight: GlobalSize.ScaleSize30,
    },
    alert_btnItemViewStyle:{
        width:ScreenUtils.scaleSize(200),
        height:GlobalSize.ScaleSize56,
        alignItems:'center',
        justifyContent:'center',
        borderColor:'transparent',
        borderRadius:GlobalSize.ScaleSize20,
    },
    // alert_textStyle: {
    //     fontSize: ScreenUtils.setSpText(36),
    //     fontFamily: GlobalColor.FontFamilyLight,
    //     color: GlobalColor.bd9952
    // },

    //
    webViewStyle:{
        width:ScreenUtils.scaleSize(710),
        marginLeft:GlobalSize.ScaleSize20,
        marginRight:GlobalSize.ScaleSize20,
        marginBottom:GlobalSize.ScaleSize40
    },
    webTitleStyle:{
        marginTop: GlobalSize.ScaleSize20,
        color: GlobalColor["909090"],
        fontSize: GlobalSize.SetSpText24,
        fontFamily: GlobalSize.FontFamilyRegular
    }

}
